package cn.ronghuanet.org.domain;

import java.math.BigDecimal;
import java.util.Date;
import cn.ronghuanet.base.domain.BaseDomain;


import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author lijie
 * @since 2023-08-15
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
public class Employee extends BaseDomain{

    private static final long serialVersionUID = 1L;

    private Long id;
    private String username;
    /**
     * 真实姓名
     */
    private String realName;
    private String email;
    private String phone;
    /**
     * 盐值
     */
    private String salt;
    /**
     * 密码要加密保存
     */
    private String password;
    private Integer age;
    private Integer sex;
    /**
     * 1=正常 2=锁定 3=注销
     */
    private Integer state;
    private Long departmentId;
    private Long logininfoId;

    private Shop shop;  // 登录成功以后,员工所正在操作的店铺
}
